
@font-face {
    font-family: 'stixgeneralregular';
    src: url('../fonts/stixgeneral-regular-webfont.eot');
    src: url('../fonts/stixgeneral-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/stixgeneral-regular-webfont.woff') format('woff'),
         url('../fonts/stixgeneral-regular-webfont.ttf') format('truetype'),
         url('../fonts/stixgeneral-regular-webfont.svg#stixgeneralregular') format('svg');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'stixgeneralitalic';
    src: url('../fonts/stixgeneral-italic-webfont.eot');
    src: url('../fonts/stixgeneral-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/stixgeneral-italic-webfont.woff') format('woff'),
         url('../fonts/stixgeneral-italic-webfont.ttf') format('truetype'),
         url('../fonts/stixgeneral-italic-webfont.svg#stixgeneralitalic') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cmu_sans_serifmedium';
    src: url('../fonts/cmunss-webfont.eot');
    src: url('../fonts/cmunss-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cmunss-webfont.woff') format('woff'),
         url('../fonts/cmunss-webfont.ttf') format('truetype'),
         url('../fonts/cmunss-webfont.svg#cmu_sans_serifmedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cmu_sans_serifbold';
    src: url('../fonts/cmunsx-webfont.eot');
    src: url('../fonts/cmunsx-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cmunsx-webfont.woff') format('woff'),
         url('../fonts/cmunsx-webfont.ttf') format('truetype'),
         url('../fonts/cmunsx-webfont.svg#cmu_sans_serifbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cmu_sans_serifoblique';
    src: url('../fonts/cmunsi-webfont.eot');
    src: url('../fonts/cmunsi-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cmunsi-webfont.woff') format('woff'),
         url('../fonts/cmunsi-webfont.ttf') format('truetype'),
         url('../fonts/cmunsi-webfont.svg#cmu_sans_serifoblique') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'cmu_brightboldoblique';
    src: url('../fonts/cmunbxo-webfont.eot');
    src: url('../fonts/cmunbxo-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/cmunbxo-webfont.woff') format('woff'),
         url('../fonts/cmunbxo-webfont.ttf') format('truetype'),
         url('../fonts/cmunbxo-webfont.svg#cmu_brightboldoblique') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'mathfrak';
    src: url('../fonts/unifrakturmaguntia-webfont.eot');
    src: url('../fonts/unifrakturmaguntia-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/unifrakturmaguntia-webfont.woff') format('woff'),
         url('../fonts/unifrakturmaguntia-webfont.ttf') format('truetype'),
         url('../fonts/unifrakturmaguntia-webfont.svg#unifrakturmaguntiabook') format('svg');
    font-weight: normal;
    font-style: normal;

}


canvas {
	position:absolute;
	top:0px;
	left:0px;
	visibility: visible;
	opacity: 1;
}

#title {
	font-family: 'cmu_sans_serifbold';
}

[type="blank"] {
	border: 1px solid #ff0000;
}


[level="1"] {
	font-size: 24px;
}

[level="2"] {
	font-size: 21px;
}

[level="3"] {
	font-size: 17px;
}

[level="4"] {
	font-size: 13px;
}

[level="5"] {
	font-size: 12px;
}

[level="6"] {
	font-size: 12px;	
}

.bold {
	font-weight: bold;
}

.deliminator {
	font-size: 20%;
	position: absolute;
    top: 0;
    left: 0;
	margin-top: -1px;
	margin-left: -1px;
	opacity:1;
	color: #ff0000;
}

#math [font="mathfrak"] {
	font-family: 'mathfrak' !important;
}

#math [font="symbol"] {
	 font-family: 'STIXGeneral-Regular' !important;
}

span {
	position: absolute;
	vertical-align: baseline;
	padding-left: 0.25em;
	padding-right: 0.25em;
}

[operator="slash"] {
	color:gray;
}


.debug {
	width: 500px;
	height: 600px;
	background-color: white;
}

#compiled {
	width: 500px;
	height: 300px;
	background-color: white;
	position: absolute;
	
}

#caret{
    width: 2px;
    height: 20px;
    position: absolute;
    top: 0px;
    left: 0px;
	background-color:#0aefff;
	margin-top: 0px;
	margin-left: 0px;
	opacity:1;
}

#comcaret{
    width: 1px;
    height: 18px;
    position: absolute;
    top: 0px;
    left: 0px;
	background-color:#bfbcbc;
	margin-top: 0px;
	margin-left: 0px;
	opacity:1;
}

#command{
    width: 80px;
    height: 18px;
    position: absolute;
    top: 0px;
    left: 0px;
	background-color:rgba(240,240,240,0.8);
	margin-bottom: 0px;
	margin-left: 0px;
	border: 1px solid #f4a928;
	padding: 1px;
	opacity:1;
	color: #4d2e0f;
	border-radius: 5px;
	font-family: 'cmu_sans_serifmedium';
	text-align: left;
}

#math{
	font-family: 'STIXGeneral-Italic';
	top: 200px;
	left: 10px;
	position:absolute;
}

#symbol{
    width: 18px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 0;
	background-color:rgba(245,169,39,0.9);
	margin-top: 1px;
	margin-left: 0px;
	margin-bottom: 1px;
	padding: 0px;
	opacity:1;
	color: #ffffff;
	border-radius: 5px;
	font-family: 'cmu_sans_serifmedium';
	text-align: center;
	
}

/* color for middle line of /frac command */
[aux="middle"] {
	background-color:black;
	width: 0px;
    height: 1.5px;
	margin-top: 0px;
	margin-left: 0px;
	opacity:1;
} 

/* color for general line of other commands */
[aux="line"] {
	background-color:black;
	width: 0px;
    height: 1.5px;
	margin-top: 0px;
	margin-left: 0px;
	opacity:1;
} 

.line {
	position: absolute;
	background-color:black;
	width: 300px;
    height: 1px;
	margin-top: 0px;
	margin-left: 0px;
	opacity:1;
} 
